<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="<?php echo (C("CSS_URL")); ?>/pintuer.css">
    <link rel="stylesheet" href="<?php echo (C("CSS_URL")); ?>/admin.css">
    <link rel="stylesheet" href="<?php echo (C("CSS_URL")); ?>/index.css">
    <script src="<?php echo (C("JS_URL")); ?>/jquery.js"></script>
    <script src="<?php echo (C("JS_URL")); ?>/pintuer.js"></script>
    <link href="/Public/css/noty/jquery.noty.css" rel="stylesheet">
    <script src="/Public/Js/noty/jquery.noty.js"></script>
    <link href="/Public/css/noty/noty_theme_default.css" rel="stylesheet">
</head>
<?php echo hook('showMsg');?>
<body>
<form method="post" action="" id="listform">
  <div class="panel admin-panel">
    <div class="panel-head"><strong class="icon-reorder"> <?php echo ($title); ?></strong> <a href="" style="float:right; display:none;">添加字段</a></div>
    <div class="padding border-bottom">
      <ul class="search" style="padding-left:10px;">
        <li> <a class="button border-main icon-plus-square-o" href="<?php echo U('Role/role_add');?>"> 角色添加</a> </li>
        <li>
          <input type="text" placeholder="请输入搜索关键字" name="keywords" class="input" style="width:250px; line-height:17px;display:inline-block" />
          <a href="javascript:void(0)" class="button border-main icon-search" onclick="changesearch()" > 搜索</a></li>
      </ul>
    </div>
      </div>
      </form>
      <form action="" method="post" name="jiao">
      <div class="Box">
          <div class="form-group">
              <div class="label">
                  <label>分类标题：</label>
              </div>
              <div class="field">
                  <select name="cid" class="input w50">
                      <option value="">请选择分类</option>
                      <option value="">产品分类</option>
                      <option value="">产品分类</option>
                      <option value="">产品分类</option>
                      <option value="">产品分类</option>
                  </select>
                  <div class="tips"></div>
              </div>
          </div>
      </div>

          <br><br>
          <center>
          <div class="field">
              <div class="button bg-main icon-check-square-o tijiao" style="cursor:pointer;"> 提交</div>
          </div></center>
</form>
<script type="text/javascript">

//搜索
function changesearch(){	
		
}

//单个删除
function del(id){
	if(confirm("您确定要删除吗?")){
        window.location.href="/Admin/Role/del/roleId/"+id;
	}
}

function edit(id){
    window.location.href="/Admin/Role/edit/roleId/"+id;
}
    $(".tijiao").click(function(){
        $("form[name='jiao']").submit();
    });
</script>
</body>
</html>